Fix: replace verbose log tiers with severity levels - #1475
Conversation
|
Important Review skippedToo many files! This PR contains 161 files, which is 61 over the limit of 100. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (161)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
873df6e to
2d4b378
Compare
docs/ had 35 files flat at its root with no index. The top-level README listed 10 of them, so the other 25 were discoverable only by grep, and four had no inbound link from anywhere in the repo. Only investigations/ carried a README; dfx/ (12 files, 5227 lines), troubleshooting/ and hardware/ had none. - Add docs/README.md indexing every root document and subdirectory, grouped by reader intent, and stating that a new doc registers there in the same commit. This de-orphans install.md, simt-launch.md, profiling-config-naming.md and sim_multi_device_isolation.md. - Add docs/capability-survey.md: a status snapshot of what is shipped, gated, or design-only across the level model (L2 chip up to L4 host-to-host), the CANN launch surface for AICore and AICPU, and the communication engines. Every claim carries a file:line so it can be re-checked, and the page records the snapshot commit because status claims rot faster than architecture. - Move profiling-framework.md, profiling-name-map.md and profiling-config-naming.md into docs/dfx/, which already held 12 profiling documents and linked up to these three nine times via ../. Add docs/dfx/README.md as that directory's index. logging.md stays at the docs/ root: PR #1475 modifies it, so renaming it here would hand that author a rename-vs-modify conflict. - Fix seven broken links in docs/dfx/pmu-profiling.md, a file already touched by this change: six had the wrong relative depth (../src -> ../../src) and profiling_copy.h moved to src/common/ when #944 unified the collector framework.
accb802 to
45d062e
Compare
|
Stale reference to a removed symbol — # line 25
from simpler import _log
# line 69
logging.getLogger("simpler").setLevel(_log.V9)This PR deletes The file isn't part of this PR's diff, so a line-anchored inline comment can't be attached here — flagging it at the conversation level instead. It's also why CI stays green: the filename isn't Suggested fix: |
45d062e to
812abe1
Compare
|
@ChaoZheng109 Addressed the stale benchmark reference: |
- Collapse V0-V9 call sites to INFO and reserve TIMING for STRACE - Add DEBUG, TIMING, WARN, and ERROR severity APIs - Default to TIMING and align Python, host, sim, and onboard thresholds - Gate onboard TIMING independently from CANN's coarser WARN level - Forward the threshold into RTLD_LOCAL AICPU simulation libraries - Add CANN configuration and host/device propagation regressions - Update affected call sites and documentation Fixes hw-native-sys#1429 Co-authored-by: ChaoZheng109 <zhengchao47@huawei.com>
812abe1 to
b37da08
Compare
Summary
DEBUG,INFO,TIMING,WARN, andERROR, defaulting toTIMINGTIMING, migrate affected call sites and documentation, and retain the log-footprint reduction from Strip all LOG_* call sites — logging re-tiering baseline #1447Testing
Performance
On a2a3
batch_paged_attentionCase1 over 100 rounds:Fixes #1429